package no.group.gowther.service;

import com.baomidou.mybatisplus.extension.service.IService;
import no.group.gowther.service.dto.*;
import no.group.gowther.service.dto.param.OnePieceQueryDTO;
import no.group.gowther.service.dto.param.OnePieceSaveDTO;
import no.group.gowther.service.dto.param.OnePieceUpdateDTO;
import no.group.gowther.dao.entity.OnePiece;

public interface OnePieceService extends IService<OnePiece> {
    Long create(OnePieceSaveDTO onePieceSaveDTO);

    void update(OnePieceUpdateDTO onePieceUpdateDTO);

    ListDTO<OnePieceListDTO> queryList(OnePieceQueryDTO onePieceQueryDTO);

    OnePieceDTO queryDetail(Long id);
}
